
package com.work.util;

import com.vaadin.data.Validator;

public class TimeFieldValidator implements Validator {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5718467123054017853L;

	@Override
	public void validate(Object value) throws InvalidValueException
	{
		// Simply call the isValid(). It is possible to have
		// more complex logic here to also report the reason
		// of the failure in better detail.
			throw new InvalidValueException("You did not greet");
	}
}
